<div>
    <form nz-form  [formGroup]="validateForm" (ngSubmit)="submitForm(validateForm.value)">
        <div nz-row [nzGutter] = '24'>
            <nz-form-item>
                <nz-form-label [nzSpan]="4">姓名</nz-form-label>
                <nz-form-control [nzSpan]="20">
                  <input nz-input  placeholder="" formControlName="infoName"/>
                </nz-form-control>
              </nz-form-item>
              <nz-form-item>
                <nz-form-label [nzSpan]="4">目前地址</nz-form-label>
                <nz-form-control [nzSpan]="20">
                  <input nz-input  placeholder="" formControlName="addressNow"/>
                </nz-form-control>
              </nz-form-item>
              <nz-form-item>
                <nz-form-label [nzSpan]="4" nzRequired>搬迁新址</nz-form-label>
                <nz-form-control [nzSpan]="20" nzErrorTip="请选择!">
                      <nz-tree-select
                      #treedom
                      [ngModelOptions]="{standalone: true}"
                      [nzNodes]="nodes"
                      [(ngModel)]="value"
                      [nzDropdownStyle]="{'max-height': '300px'}"
                      nzPlaceHolder="请选择"
                      (ngModelChange)="onChange($event)"
                      ></nz-tree-select>
                </nz-form-control>
              </nz-form-item>
              <nz-form-item style="text-align: center;">
                <nz-form-control [nzOffset]="7" [nzSpan]="12">
                  <button nz-button nzType="primary">提交</button>
                  <button nz-button (click)="resetForm($event)">重置</button>
                </nz-form-control>
              </nz-form-item>
        </div>
         
    </form>
</div>
